/*
 * @(#)MailAttachment.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.mail.core;

import java.io.InputStream;

public class MailAttachment {

  public static final String REVISION = "$Revision: 1.2 $";

  private String fileName;
  private InputStream inputStream;
  private String contentType;
  private int contentSize;

  public MailAttachment() {
  }

  public void setFileName(String fileName) {
    this.fileName = fileName;
  }

  public String getFileName() {
    return fileName;
  }

  public void setInputStream(InputStream inputStream) {
    this.inputStream = inputStream;
  }

  public InputStream getInputStream() {
    return inputStream;
  }

  public void setContentType(String contentType) {
    this.contentType = contentType;
  }

  public String getContentType() {
    return contentType;
  }

  public void setContentSize(int contentSize) {
    this.contentSize = contentSize;
  }

  public int getContentSize() {
    return contentSize;
  }

}
